package com.buba.service.impl;

import com.buba.mapper.FileMapper;
import com.buba.service.FileService;

import entity.FileEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * LC: 2022-11-17 15:07
 */
@Service
public class FileServiceImpl implements FileService {

    @Autowired
    FileMapper fileMapper;


    /**
     * 根据id查询日记图片
     * @param id
     * @return
     */
    @Override
    public List<String> getDiaryRecordFileId(String[] id) {
        return fileMapper.getDiaryRecordFileId(id);
    }
}
